import time

from selenium.webdriver.common.by import By
from ykao.Base.Base import Base
class Page2(Base):
    dz=(By.XPATH,'/html/body/div[1]/nav/div[1]/ul/li[2]/span[2]')
    jrr=(By.XPATH,'//*[@id="1760331913700_subject"]')
    zh=(By.XPATH,'/html/body/div[2]/div[2]/div[2]/form/div/div[1]/div[2]/input')
    mm=(By.XPATH,'/html/body')
    dl=(By.XPATH,'/html/body/div[2]/div[1]/div[2]/div[1]/section/footer/div[1]/span[2]')
    def yx(self):
        self.click(self.dz)
        time.sleep(2)
        self.click(self.jrr)
        time.sleep(2)
        self.click(self.zh)
        time.sleep(2)
        self.click(self.mm)
        time.sleep(2)
        self.click(self.dl)
